<?php

$def = new ezcPersistentObjectDefinition();
$def->table = "nom_domaine";
$def->class = "NomDomaine";

$def->idProperty = new ezcPersistentObjectIdProperty;
$def->idProperty->columnName = 'id';
$def->idProperty->propertyName = 'id';
$def->idProperty->generator = new ezcPersistentGeneratorDefinition(
    'ezcPersistentSequenceGenerator',
    array( 'sequence' => 'nom_domaine_id_seq' )
);


$def->properties['agresso'] = new ezcPersistentObjectProperty;
$def->properties['agresso']->columnName = 'agresso';
$def->properties['agresso']->propertyName = 'agresso';
$def->properties['agresso']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['commentaire'] = new ezcPersistentObjectProperty;
$def->properties['commentaire']->columnName = 'commentaire';
$def->properties['commentaire']->propertyName = 'commentaire';
$def->properties['commentaire']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['dateHebergement'] = new ezcPersistentObjectProperty;
$def->properties['dateHebergement']->columnName = 'date_hebergement';
$def->properties['dateHebergement']->propertyName = 'dateHebergement';
$def->properties['dateHebergement']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;

$def->properties['domaine'] = new ezcPersistentObjectProperty;
$def->properties['domaine']->columnName = 'domaine';
$def->properties['domaine']->propertyName = 'domaine';
$def->properties['domaine']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['email'] = new ezcPersistentObjectProperty;
$def->properties['email']->columnName = 'email';
$def->properties['email']->propertyName = 'email';
$def->properties['email']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['expiration'] = new ezcPersistentObjectProperty;
$def->properties['expiration']->columnName = 'expiration';
$def->properties['expiration']->propertyName = 'expiration';
$def->properties['expiration']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;

$def->properties['facturation'] = new ezcPersistentObjectProperty;
$def->properties['facturation']->columnName = 'facturation';
$def->properties['facturation']->propertyName = 'facturation';
$def->properties['facturation']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['hebergement'] = new ezcPersistentObjectProperty;
$def->properties['hebergement']->columnName = 'hebergement';
$def->properties['hebergement']->propertyName = 'hebergement';
$def->properties['hebergement']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['id'] = new ezcPersistentObjectProperty;
$def->properties['id']->columnName = 'id';
$def->properties['id']->propertyName = 'id';
$def->properties['id']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;

$def->properties['mailEnvoye'] = new ezcPersistentObjectProperty;
$def->properties['mailEnvoye']->columnName = 'mail_envoye';
$def->properties['mailEnvoye']->propertyName = 'mailEnvoye';
$def->properties['mailEnvoye']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_BOOL;

$def->properties['nomClient'] = new ezcPersistentObjectProperty;
$def->properties['nomClient']->columnName = 'nom_client';
$def->properties['nomClient']->propertyName = 'nomClient';
$def->properties['nomClient']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['societe'] = new ezcPersistentObjectProperty;
$def->properties['societe']->columnName = 'societe';
$def->properties['societe']->propertyName = 'societe';
$def->properties['societe']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

$def->properties['supprime'] = new ezcPersistentObjectProperty;
$def->properties['supprime']->columnName = 'supprime';
$def->properties['supprime']->propertyName = 'supprime';
$def->properties['supprime']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_BOOL;

$def->properties['tel'] = new ezcPersistentObjectProperty;
$def->properties['tel']->columnName = 'tel';
$def->properties['tel']->propertyName = 'tel';
$def->properties['tel']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;

return $def;

?>
